package com.example.demo.dao;

import com.example.demo.entity.LecturerBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LecturerDao {
    Integer add(LecturerBean lecturerBean);
    Integer update(LecturerBean lecturerBean);
    Integer delete(Integer id);
    LecturerBean getOneById(Integer id);
    List<LecturerBean> list(String name, String sortOrder);
    Integer count(String name);
} 